package org.jeecg.modules.KM.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("km_doc_visit_policy")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="km_doc_visit_policy对象", description="km_doc_visit_policy")
public class KmDocVisitPolicy implements Serializable {
    private static final long serialVersionUID = 1L;

    /**id*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
    /**userId*/
    @Excel(name = "userId", width = 19)
    @ApiModelProperty(value = "userId")
    private String userId;
    /**docId*/
    @Excel(name = "docId", width = 19)
    @ApiModelProperty(value = "docId")
    private String docId;
    @Excel(name = "policyTypes", width = 30)
    @ApiModelProperty(value = "policyTypes")
    private String policyTypes;


    /**addTime*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "addTime")
    private Date addTime;
    /**create_by*/
    @Excel(name = "create_by", width = 19)
    @ApiModelProperty(value = "create_by")
    private String create_by;
}
